From: Debian Science Maintainers Date: Sat, 23 Apr 2022 15:15:39 +0000 (+0000) Subject: test_relax_tolerance X-Git-Tag: archive/raspbian/0.10.6-5+rpi1~3 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https://%22Program/%22http:/www.example.com/cgi/%22https:/%22Program?a=commitdiff_plain;h=4c26ce6c5985782cd9ddf75d4c653a8e4ab676c0;p=pygalmesh.git test_relax_tolerance =================================================================== Gbp-Pq: Name test_relax_tolerance.patch --- diff --git a/tests/test_volume_mesh.py b/tests/test_volume_mesh.py index 394e3bb..6c57057 100644 --- a/tests/test_volume_mesh.py +++ b/tests/test_volume_mesh.py @@ -483,7 +483,7 @@ def test_extrude(): assert abs(min(mesh.points[:, 1]) + 0.3) < tol # Relax tolerance for debian, see assert abs(max(mesh.points[:, 2]) - 1.0) < 1.1e-3 - assert abs(min(mesh.points[:, 2]) + 0.0) < tol + assert abs(min(mesh.points[:, 2]) + 0.0) < 1.1e-3 vol = sum(helpers.compute_volumes(mesh.points, mesh.get_cells_type("tetra"))) assert abs(vol - 0.4) < tol